/*
 * Copyright:  2018 smarabbit studio.
 *
 *  Licensed under the Confluent Community License; you may not use this file
 *  except in compliance with the License.  You may obtain a copy of the License at
 *
 *  http://www.confluent.io/confluent-community-license
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 *  WARRANTIES OF ANY KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations under the License.
 *
 *  @作   者： 黄开晖 (117227773@qq.com)
 *  @日   期:  2021年5月25日
 */
package com.massyframework.beanskin.assembly.beans;

import com.massyframework.beanskin.BeanSkinException;

/**
 * Bean异常基类
 * @author huangkh
 *
 */
public class BeansException extends BeanSkinException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8781073069587925849L;

	/**
	 * 创建一个Bean例外
	 */
	protected BeansException() {
	}

	/**
	 * 根据{@code message}和{@code cause}创建一个装配件例外 
	 * @param message {@link String}, 对例外的描述
	 * @param cause {@link Throwable}, 例外
	 */
	public BeansException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * 根据{@code message}创建一个装配件例外 
	 * @param message {@link String}, 对例外的描述
	 */
	public BeansException(String message) {
		super(message);
	}

	/**
	 * 根据{@code cause}创建一个装配件例外 
	 * @param cause {@link Throwable}, 例外
	 */
	public BeansException(Throwable cause) {
		super(cause);
	}

}
